<template>
    <div>
        <input v-model="url" />
        <VueIframe :src="url" :styles="iframeStyles" />
    </div>
</template>

<script>
    export default {
        data () {
            return {
                url: 'https://www.baidu.com',
                iframeStyles: {
                    width: '100%',
                    height: '500px',
                    border: 'none'
                }
            }
        }
    }
</script>